﻿namespace Devonline.Entity;

/// <summary>
/// 附加信息基础数据抽象接口
/// 字符串主键的默认接口
/// </summary>
public interface IAdditional : IAdditional<string>, IKeyValuePair, IEntitySet { }

/// <summary>
/// 附加信息基础数据抽象接口
/// </summary>
/// <typeparam name="TKey"></typeparam>
public interface IAdditional<TKey> : IKeyValuePair<TKey>, IEntitySet<TKey>
{
    /// <summary>
    /// 附加数据的业务主键
    /// </summary>
    TKey? AdditionalId { get; set; }
}